From a12c58a6741ee852bb8159d2fcd87bbc4c40f1cc Mon Sep 17 00:00:00 2001 From: Vlad Wing Date: Sat, 25 Jul 2020 13:20:36 +0100 Subject: [PATCH] Update gpsusbstub.cc (#610) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Build fails when configured `--without-libusb`: ``` jeeps/gpsusbstub.cc:39:3: error: ‘Fatal’ was not declared in this scope Fatal() << no_usb; ^~~~~ jeeps/gpsusbstub.cc:39:3: note: suggested alternative: ‘fatal’ Fatal() << no_usb; ^~~~~ fatal ``` --- jeeps/gpsusbstub.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeeps/gpsusbstub.cc b/jeeps/gpsusbstub.cc index 086ae7a9b..9be709380 100644 --- a/jeeps/gpsusbstub.cc +++ b/jeeps/gpsusbstub.cc @@ -34,7 +34,7 @@ typedef struct gpsdevh gpsdevh; int gusb_init(const char* portname, gpsdevh** dh) { - Fatal() << no_usb; + fatal(no_usb); return 0; } -- 2.30.2